<%String linktab = (String)request.getAttribute("selectedTab"); %>
<%if("CREATE".equalsIgnoreCase(linktab)) {%>
    <td class="activeTabc1"></td>
    <td class="activeTabbg" ><div align="center" class="style10"> <a href="<%=request.getAttribute("createLink")%>">Create</a></div></td>
    <td class="activeTabc2"></td>
	<%} else {%>
	<td class="inactiveTabc1"></td>
    <td class="inactiveTabbg4"  ><div align="center" class="style11"><a href="<%=request.getAttribute("createLink")%>">Create</a></div></td>
    <td class="inactiveTabc2"></td>
	<%}%>
    <td class="spacer"></td>
	<%if("EDIT".equalsIgnoreCase(linktab)) {%>
	<td class="activeTabc1"></td>
    <td class="activeTabbg4"><div align="center" class="style10"><a href="<%=request.getAttribute("editLink")%>">Edit</a></div></td>
    <td class="activeTabc2"></td>
	<%} else{%>
    <td class="inactiveTabc1"></td>
    <td class="inactiveTabbg4"><div align="center" class="style11"><a href="<%=request.getAttribute("editLink")%>">Edit</a></div></td>
    <td class="inactiveTabc2"></td>
	<%}%>
    <td class="spacer"></td>
	<%if("VIEW".equalsIgnoreCase(linktab)) {%>
	<td class="activeTabc1"></td>
    <td class="activeTabbg4"><div align="center" class="style10"><a href="<%=request.getAttribute("viewLink")%>">View</a></div></td>
    <td class="activeTabc2"></td>
	<%} else{%>
    <td class="inactiveTabc1"></td>
    <td class="inactiveTabbg4"><div align="center" class="style11"><a href="<%=request.getAttribute("viewLink")%>">View</a></div></td>
    <td class="inactiveTabc2"></td> 
	<%}%>
	<td class="spacer"></td>
	<%if("UPLOAD".equalsIgnoreCase(linktab)) {%>
	<td class="activeTabc1"></td>
    <td class="activeTabbg4"><div align="center" class="style10"><a href="<%=request.getAttribute("uploadLink")%>">Upload</a></div></td>
    <td class="activeTabc2"></td>
	<%} else{%>
    <td class="inactiveTabc1"></td>
    <td class="inactiveTabbg4"><div align="center" class="style11"><a href="<%=request.getAttribute("uploadLink")%>">Upload</a></div></td>
    <td class="inactiveTabc2"></td>
	<%}%>